cma: Add vc_cma driver to enable use of CMA
authorpopcornmix <popcornmix@gmail.com>
Tue, 2 Jul 2013 23:31:47 +0000 (00:31 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 9 Mar 2017 17:51:01 +0000 (17:51 +0000)
commit9e9096ad0ff78f0d0ff6854e7cc0c0f7f2c97bd8
treed882c776695ff8fc5f7fe87fa05c99083a54eb22
parent50836003e0469fd36137428bcf8e0e8dfce20d27
cma: Add vc_cma driver to enable use of CMA

Signed-off-by: popcornmix <popcornmix@gmail.com>
vc_cma: Make the vc_cma area the default contiguous DMA area

vc_cma: Provide empty functions when module is not built

Providing empty functions saves the users from guarding the
function call with an #if clause.
Move __init markings from prototypes to functions.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
drivers/char/Kconfig
drivers/char/Makefile
drivers/char/broadcom/Kconfig [new file with mode: 0644]
drivers/char/broadcom/Makefile [new file with mode: 0644]
drivers/char/broadcom/vc_cma/Makefile [new file with mode: 0644]
drivers/char/broadcom/vc_cma/vc_cma.c [new file with mode: 0644]
include/linux/broadcom/vc_cma.h [new file with mode: 0644]